﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>GHIndex</title>
    <script src="~/Scripts/jquery-1.10.2.js"></script>
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <script>
        $(function ()
        {
            //医院下拉框的值
            function select1() {
                //调用ajax
                $.ajax({
                    url: "/GH_Page/select1",
                    type: "get",
                    dataType: "json",
                    success: function (da) {
                        $("#txtHosp").append("<option value='0'>全部</option>")
                        var d = JSON.parse(da);
                        alert(d);
                        for (var i = 0; i < d.length; i++) {
                            $("#txtHosp").append("<option value='" + d[i].Hosp_ID + "'>" + d[i].Hosp_Name + "</option>")
                        }

                    }

                })

            }

            //科室下拉框的值
            function select2() {
                //调用ajax
                $.ajax({
                    url: "/GH_Page/select2",
                    type: "get",
                    dataType: "json",
                    success: function (da) {
                        $("#txtOffice").append("<option value='0'>全部</option>")
                        var d = JSON.parse(da);
                        alert(d);
                        for (var i = 0; i < d.length; i++) {
                            $("#txtOffice").append("<option value='" + d[i].Office_ID + "'>" + d[i].Office_Name + "</option>")
                        }

                    }

                })

            }

            //医生下拉框的值
            function select2() {
                //调用ajax
                $.ajax({
                    url: "/GH_Page/select2",
                    type: "get",
                    dataType: "json",
                    success: function (da) {
                        $("#txtDoctor").append("<option value='0'>全部</option>")
                        var d = JSON.parse(da);
                        alert(d);
                        for (var i = 0; i < d.length; i++) {
                            $("#txtDoctor").append("<option value='" + d[i].Doctor_ID + "'>" + d[i].Doctor_Name + "</option>")
                        }

                    }

                })

            }
        })
    </script>
</head>
<body>
    <div style="background-color:#e6e1e1">
        <p><a href="#" style="text-decoration:none">首页</a>>预约挂号</p>
        <div style="width:1000px ;height:500px;background-color:#e5e8ec;margin:0 auto">
           <div style="width:950px;height:470px;background-color:#fcfdfd;margin:0 auto;margin-top:20px">
            <div style="width:190px;height:468px;background-color:#f9fafa;border:1px solid #f7f7f7;float:left">
              <p style="color:#98c832;font-size:24px;margin-left:10px;margin-top:8px">预约挂号</p>
                <p style="font-size:9px;margin-left:5px;">帮助普通患者快速找到选定条件下可预约的专家（目前只支持部分医院）</p>
                <hr />
                <img src="~/image/挂号_05.gif" style="width:190px;height:130px;margin-top:5px" />
               <p style="text-align:center;font-size:16px;margin-top:8px">手机挂号10秒搞定！</p>
                <p style="text-align:center;font-size:8px">立即扫描下载天堂挂号APP<br />关注微信公众号，让看病变得更简单！</p>
                <img src="~/image/挂号_01_09.gif" style="width:190px;height:80px;margin-top:5px"/>
                <p style="text-align:center;margin-top:10px">扫一扫，点关注</p>
            </div>
               <div style="width:748px;height:468px;float:right;padding-top:80px;padding-left:100px">
              <p>挂号原因:<textarea id="Gh_Reason" rows="2" cols="20"></textarea></p>
              <p>挂号人:<input id="U_Name" type="text" /></p>
                <p>医院:<select id="txtHosp"></select></p>
                 <p>科室:<select id="txtOffice"></select></p>
                 <p>医生:<select id="txtDoctor"></select></p>
                <p>预约时间:<input id="Gh_Time" type="text" /></p>
                   <p><input id="Button1" type="button" value="预约挂号" class="btn btn-success" style="width:200px;height:40px" /></p>
               </div>
           </div>
        </div>
    </div>
  
</body>
</html>
